﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCoreLib.Automation.Data.SqlClient
{
    public class GenericSelection : ISelection
    {
        public readonly List<GenericSpSelector> Procedures = new List<GenericSpSelector>();

        public readonly List<GenericEnvironmentSettings> EnvironmentSettingses = new List<GenericEnvironmentSettings>();
       

        public GenericSelection()
        {
            
        }

        public string DefaultConnectionString { get; set; }


        IEnumerable<IEnvironmentSettings> ISelection.EnvironmentSettingsCollection
        {
            get { return this.EnvironmentSettingses; }
        }

        IEnumerable<IStoredProcedureSelector> ISelection.StoredProcedures
        {
            get { return this.Procedures; }
        }

    }
}
